//
//  QHHCPInternalPreferences.h
//  QHealthForDoctor
//
//  Created by 李志良的mac mini on 2020/4/13.
//  Copyright © 2020 李 志良. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface QHHCPInternalPreferences : NSObject

/**
 *  记录bundle www文件是否被拷贝.
 */
@property (nonatomic, assign) BOOL isCopiedToLocal;

/**
 *  记录是否有需要更新的版本.
 */
@property (nonatomic, assign) BOOL hasNewVersionToUpdate;

/**
 *  记录bundle www文件是否被拷贝.
 */
@property (nonatomic, strong) NSString * downLoadWWWFolderPath;

/**
 *记录是否邀请码更新过
 */
@property (nonatomic, assign) BOOL  isInviteCodeUpdated;

/**
 *记录当前版本的最小版本号
 */

@property (nonatomic, strong) NSString *CurrentMinIosVer;

@property (nonatomic, strong) NSString *releaseMinIosVer;
/**
 *  Current version of the content, that is displayed to the user.
 */
@property (nonatomic, strong) NSString *currentReleaseVersionName;

@property (nonatomic, strong) NSString *currentDownLoadingVersionName;

+ (QHHCPInternalPreferences *)loadFromUserDefaultsWithFolderName:(NSString*)folderName;

-(void)savePreferenceToLocalWithFolderName:(NSString*)wwwFoldername;
@end

NS_ASSUME_NONNULL_END
